package yxy.cherry.battle.module.selector;

import yxy.cherry.battle.Fighter;
import yxy.cherry.battle.Team;
import yxy.cherry.battle.module.PropertyType;

import java.util.ArrayList;
import java.util.Set;

@TargetSelectorType(Type = 4)
public class TargetSelector_04_法防排序 extends TargetSelector {

	@Override
	public Set<Fighter> target(Fighter actor, Team team, int param1, int param2) {
		ArrayList<Fighter> list = sortProperty(team, PropertyType.P_法防);
		return getSpecialFighter(actor,list,param1,param2);
	}
}